<!--添加第一个css-->
<script ng-init="OneCss('search-page/css/search.css')"></script>
<!--添加第二个css（不管有没有）-->
<script ng-init="TwoCss('')"></script>

<nav class="navbar navbar-default" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse"
                data-target="#bs-example-navbar-collapse-1"><span class="sr-only">Toggle navigation</span><span
                class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
        <a class="navbar-brand" href="#">一站图书</a>
    </div>
    <div class="collapse navbar-collapse active" id="bs-example-navbar-collapse-1">
        <form class="navbar-form navbar-left" role="search">
            <div class="form-group">
                <input type="text" ng-model="searchvars"ng-value="searchvars"  class="form-control" placeholder="输入图书编号，或图书名"/>
            </div>
            <button type="submit" ng-click="searchpost()" class="btn btn-default">搜索</button>
        </form>

    </div>
</nav>
<div class="row">
    <div class="row clearfix">
        <div class="col-md-12 column" ng-repeat="book in booklists">
            <div class="col-md-4 column">
                <img ng-src="{{book.bookimg}}">
            </div>
            <div class="col-md-8 column">
                <div>
                    {{book.bookIntroduction}}
                </div>
            </div>
            <div class="col-md-2 column">
                <div class="form-group">
                    <label for="exampleInputEmail4">有多少本</label>
                    <input disabled="disabled" ng-model="book.bookNum" type="number" class="form-control" id="exampleInputEmail4"/>
                </div>
            </div>
            <div class="col-md-2 column">
                <div class="form-group">
                    <label for="exampleInputEmail5">可以借多久(天)</label>
                    <input type="number" disabled="disabled" ng-model="book.bookBorrowDay" class="form-control"
                           id="exampleInputEmail5"/>
                </div>
            </div>
            <div class="col-md-2 column">
                <div class="form-group">
                    <label for="exampleInputEmail6">存放位置</label>
                    <input type="text" disabled="disabled" ng-model="book.bookAddress" class="form-control" id="exampleInputEmail6"/>
                </div>
            </div>
            <div class="col-md-2 column">
                <div class="form-group">
                    <label>已借</label>
                    <input type="number" disabled="disabled" ng-model="book.borrownum" class="form-control"
                           id="exampleInputEmail11"/>

                </div>
            </div>
        </div>

    </div>


</div>
